CREATE TABLE [dbo].[Customer_Notes]
(
[NoteId] [int] NOT NULL IDENTITY(1, 1) NOT FOR REPLICATION,
[CustomerId] [bigint] NOT NULL,
[NoteDate] [smalldatetime] NULL,
[NoteType] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[NoteText] [nvarchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[TxnId] [bigint] NULL,
[CreatedUser] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[CreatedDate] [datetime] NULL,
[UpdatedDate] [datetime] NULL,
[UpdatedUser] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[notedate_yyyymm] [datetime] NULL
) ON [PRIMARY]
GO
